﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Manage/MasterPage.master" AutoEventWireup="true"
    CodeFile="Ad_Lottery_List.aspx.cs" Inherits="Manage_Ad_Lottery_List" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <style type="text/css">
        #lottery_table
        {
            width: 99%;
            border-collapse: collapse;
            empty-cells: show;
            margin-left: 8px;
            margin-top: 10px;
            margin-bottom: 20px;
        }
        #lottery_table tr
        {
            height: 35px;
            background: #f6f6f6;
            border: #d8d8d8 1px solid;
            height: 30px;
        }
        #lottery_table tr td
        {
            vertical-align: middle;
            padding-left: 15px;
        }
        #lottery_table tr .td_right
        {
            padding-right: 15px;
            width: 150px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <table id="lottery_table">
        <tr style="height: 25px; background: url('images/tt_x.gif') repeat-x;">
            <td>
                活动名称
            </td>
            <td>
                抽奖时间
            </td>
            <td class="td_right">
                操作 <a href='<%=ResolveUrl("~/Manage/Ad_Lottery_Mode.aspx") %>' style="margin-left: 20px;">
                    <img src='<%=ResolveUrl("~/Manage/images/add.gif")%>' alt="" style="margin-bottom: -4px;
                        margin-right: -3px;" />
                    创建抽奖活动 </a>
            </td>
        </tr>
        <asp:Repeater ID="lottery_list" runat="server">
            <ItemTemplate>
                <tr>
                    <td>
                        <a href='<%=ResolveUrl("~/Manage/?type=dengxin&bigclass=") %><%#Eval("id")%>'>
                            <%#Eval("LotteryName")%></a>
                    </td>
                    <td>
                        <%#Eval("LotteryDate")%>
                    </td>
                    <td>
                        <a href='<%=ResolveUrl("~/Manage/Ad_Lottery_Get.aspx?id=") %><%#Eval("id")%>'>
                            抽奖</a>
                            &nbsp; &nbsp; &nbsp;
                        <a href='<%=ResolveUrl("~/Manage/Ad_Lottery_Mode.aspx?id=") %><%#Eval("id")%>'>
                            编辑</a>
                    </td>
                </tr>
            </ItemTemplate>
        </asp:Repeater>
    </table>
</asp:Content>
